package com.css.attachment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.css.attachment.entity.AttachmentInfoEntity;
import com.css.attachment.entity.ParsingResult;
import com.css.attachment.vo.AttachVO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author Dbj
 * @date 2024年09月18日  12:33
 */
public interface AttachmentService extends IService<AttachmentInfoEntity> {
    List<AttachVO> uploadShpFile(List<MultipartFile> file) throws Exception;

    AttachmentInfoEntity getAttach(String id);

    ParsingResult getShpData(String fileIds) throws Exception;

    void uniformFileName(String fileIds);

    List<AttachVO> uploadFile(List<MultipartFile> file);

    void downloadFile(String attachId);
}
